﻿using System.ComponentModel;

namespace Xwltz.Net.Enum
{
    public enum AutoJobStatusEnum
    {
        [Description("运行中")]
        Yes = 1,

        [Description("停止")]
        No = 2
    }

    /// <summary>
    /// 公共状态
    /// </summary>
    public enum CommonStatus
    {
        /// <summary>
        /// 正常
        /// </summary>
        [Description("正常")]
        Enable = 0,

        /// <summary>
        /// 停用
        /// </summary>
        [Description("停用")]
        Disable = 1,

        /// <summary>
        /// 删除
        /// </summary>
        [Description("删除")]
        Deleted = 2
    }

    public enum StatusEnum
    {
        [Description("启用")]
        Yes = 1,

        [Description("禁用")]
        No = 0
    }

    public enum IsEnum
    {
        [Description("是")]
        Yes = 1,

        [Description("否")]
        No = 0
    }

    public enum NeedEnum
    {
        [Description("不需要")]
        NotNeed = 0,

        [Description("需要")]
        Need = 1
    }

    public enum OperateStatusEnum
    {
        [Description("失败")]
        Fail = 0,

        [Description("成功")]
        Success = 1
    }
    public enum UploadFileType
    {
        [Description("头像")]
        Portrait = 1,
        [Description("内容")]
        News = 2,

    }
}
